package com.anjiebang.utils;

/**
 * 按揭帮加密工具类
 * @author Judge
 * @date 2018/5/3.
 */
public class AjbEncryptUtil {

    /**
     * 加密的KEY
     */
    public static final String AJB_KEY = "anjiebang";


    /**
     * 生成签名
     * @param token
     * @return
     */
    public static String genSign(String token,String timestamp){
        try{
            String sign = MD5Utils.getMd5Value(token + timestamp +AJB_KEY);
            return sign;
        }catch (Exception e){
            e.printStackTrace();
            return null;
        }
    }




}
